﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ProcessProduct.aspx.cs" Inherits="MonkeyWarranty.Web.WarrantyTickets.ProcessProduct" %>

<%@ Import Namespace="Resources" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <title>
        <%=GlobalStrings.ProcessWarranty %></title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="row">
        <div class="col-lg-12">
            <h3><%=GlobalStrings.ProcessWarranty %></h3>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="alert alert-danger" runat="server" id="errorMessage" visible="False">
                <label class="control-label">
                    <asp:Literal ID="lblErrorMessage" runat="server"></asp:Literal></label>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-lg-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <%=GlobalStrings.WarrantyProducts %>
                </div>
                <div class="panel-body">
                    <div class="col-lg-6">
                        <p>
                            <%=GlobalStrings.Code %>:
                            <asp:Literal ID="ltrCode" runat="server"></asp:Literal>
                        </p>
                        <p>
                            <%=GlobalStrings.Name %>:
                            <asp:Literal ID="ltrName" runat="server"></asp:Literal>
                        </p>
                        <p>
                            <%=GlobalStrings.Model %>:
                            <asp:Literal ID="ltrModel" runat="server"></asp:Literal>
                        </p>
                        <p>
                            <%=GlobalStrings.Manufacturers %>:
                            <asp:Literal ID="ltrManufacturer" runat="server"></asp:Literal>
                        </p>
                        <p>
                            <%=GlobalStrings.Serial %>:
                            <asp:Literal ID="ltrSerial" runat="server"></asp:Literal>
                        </p>
                        <p>
                            <%=GlobalStrings.Quantity %>:
                            <asp:Literal ID="ltrQuantity" runat="server"></asp:Literal>
                        </p>
                    </div>
                    <div class="col-lg-6">
                        <p>
                            <%=GlobalStrings.WarrantyType %>:
                            <asp:Literal ID="ltrWarrantyType" runat="server"></asp:Literal>
                        </p>
                        <p>
                            <%=GlobalStrings.ReceivedFrom %>:
                            <asp:Literal ID="ltrReceivedFromName" runat="server"></asp:Literal>
                        </p>
                        <p>
                            <%=GlobalStrings.DealerEmployeeName %>:
                            <asp:Literal ID="ltrDealerEmployeeName" runat="server"></asp:Literal>
                        </p>
                        <p>
                            <%=GlobalStrings.Customers %>:
                            <asp:Literal ID="ltrCustomer" runat="server"></asp:Literal>
                        </p>
                        <p>
                            <%=GlobalStrings.Phone %>:
                            <asp:Literal ID="ltrPhone" runat="server"></asp:Literal>
                        </p>
                        <p>
                            <%=GlobalStrings.Status %>:
                            <asp:Literal ID="ltrStatus" runat="server"></asp:Literal>
                        </p>
                    </div>
                    <div class="col-lg-12">
                        <asp:Panel ID="pnlEmployee" runat="server">
                            <p>
                                <%=GlobalStrings.TechnicalEmployees %>:
                                <asp:DropDownList ID="ddlEmployees" runat="server"></asp:DropDownList>
                            </p>
                        </asp:Panel>
                        <asp:Panel ID="pnlSupplier" runat="server">
                            <p>
                                <%=GlobalStrings.AtSupplier %>:
                                <asp:DropDownList ID="ddlSuppliers" runat="server"></asp:DropDownList>
                            </p>
                        </asp:Panel>
                        <p>
                            <%=GlobalStrings.Description %>:<br />
                            <asp:TextBox ID="txtDescription" TextMode="MultiLine" CssClass="form-control" runat="server"></asp:TextBox>
                        </p>
                        <p style="text-align: left;">
                            <asp:Button ID="btnUpdate" runat="server" CssClass="btn btn-primary" Text="<%$ Resources:GlobalStrings, Save %>" OnClick="btnUpdate_Click" />
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-lg-12">
            <input id="btnCancel" type="button" value="<%=GlobalStrings.Cancel %>" class="btn btn-default"
                onclick="javascript: window.location = 'ProcessWarranty.aspx';" />
            <asp:Button ID="btnReceivedCompleted" runat="server" Text="<%$ Resources:GlobalStrings, ReceivedCompleted %>"
                CssClass="btn btn-success" ValidationGroup="AddNew"
                OnClick="btnReceivedCompleted_Click" />
            <asp:Button ID="btnReceivedNotCompleted" runat="server" Text="<%$ Resources:GlobalStrings, ReceivedNotCompleted %>"
                CssClass="btn btn-warning" ValidationGroup="AddNew"
                OnClick="btnReceivedNotCompleted_Click" />
        </div>
    </div>

    <script type="text/javascript">
        $(function () {
            $("#menu-warranty").addClass("active");
            $("#menu1-warranty").addClass("collapse in");
            $("#menu1-process").addClass("active");
        });
    </script>
</asp:Content>
